package org.springblade.modules.repair.enums;

/**
 * @author zcc
 * @version 1.0
 * @date 2021/5/10 17:00
 */
public interface PlanContentLogStatusEnum {

	/**
	 * 物业端--保养枚举定义
	 */
	enum REALTY_UPKEEP {
		CREATE(1, "工单创建"),
		START(2, "出发"),
		SIGN(3, "签到"),
		ATTAIN(4, "到达"),
		WORK(5, "保养中"),
		FINISH(6, "保养完成"),
		CLOSE(7, "工单关闭"),
		;
		private int id;
		private String typeName;

		REALTY_UPKEEP(int id, String typeName) {
			this.id = id;
			this.typeName = typeName;
		}

		public int getId() {
			return id;
		}

	}

	/**
	 * 物业端--维修枚举定义
	 */
	enum REALTY_MALFUNCTION {
		CREATE(1, "工单创建"),
		ALLOT(2, "已派单"),
		START(3, "已出发"),
		ATTAIN(4, "到达"),
		WORK(5, "维修中"),
		FINISH(6, "维修完成"),
		CLOSE(7, "工单关闭"),
		;
		private int id;
		private String typeName;

		REALTY_MALFUNCTION(int id, String typeName) {
			this.id = id;
			this.typeName = typeName;
		}

		public int getId() {
			return id;
		}
	}

	/**
	 * 物业端--困人枚举定义
	 */
	enum REALTY_TRAPPED {
		CREATE(1, "工单创建"),
		ALLOT(2, "已派单"),
		START(3, "已出发"),
		ATTAIN(4, "到达"),
		WORK(5, "解救中"),
		FINISH(6, "已解救"),
		CLOSE(7, "工单关闭"),
		;
		private int id;
		private String typeName;

		REALTY_TRAPPED(int id, String typeName) {
			this.id = id;
			this.typeName = typeName;
		}

		public int getId() {
			return id;
		}
	}
}
